"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const a_1 = require("./a");
const b_1 = require("./b");
const descriptor_1 = require("../descriptor");
const main_1 = require("../main");
const service = new Map();
service.set(a_1.A.id, new descriptor_1.Descriptor(a_1.A, ['a']));
service.set(b_1.B.id, new descriptor_1.Descriptor(b_1.B));
const mainService = new main_1.MainService(service);
mainService.invoke((accessor) => {
    const a = accessor.get(a_1.A.id);
    const b = accessor.get(b_1.B.id);
    a.sync();
});
